package com.hd.hdxgddcommon.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: hzp
 * @date: 2022/5/3
 * @description:
 */
@Data
// lombok提供的有参构造
@AllArgsConstructor
// lombok提供的无参构造
@NoArgsConstructor
public class MyRuntimeException extends RuntimeException{
//    @ApiModelProperty("状态码")
    private Integer code;
//    @ApiModelProperty("异常信息")
    private String message;
}
